package lab01;

/**
 * Created by Administrator on 2017/10/8.
 */
public class Test05W {
    public static void main(String[] args) {
        int i=1,sum=0;
        while(i>0)
        {
            sum=i+sum;
            i++;
            System.out.println(sum);
        }
    }
}
